package com.flower.subject.application.convert;

import com.flower.subject.application.dto.SubjectInfoDTO;
import com.flower.subject.domain.entity.SubjectInfoBO;
import com.flower.subject.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-03 11:34
 */
@Mapper
public interface SubjectInfoDTOConverter {
    SubjectInfoDTOConverter INSTANT = Mappers.getMapper(SubjectInfoDTOConverter.class);

    SubjectInfoBO convertDTOtoBO(SubjectInfoDTO subjectInfoDTO);

    SubjectInfoDTO convertBOtoDTO(SubjectInfoBO subjectInfoBO);



    List<SubjectInfoDTO> convertBOListtoDTOList(List<SubjectInfoBO> subjectInfoBOS);


}
